package com.ruoyi.project.jiaqin.quotationcollect.mapper;

import com.ruoyi.project.jiaqin.quotationcollect.domain.QuotationCollect;

import java.util.List;

/**
 * 行情收藏Mapper接口
 * 
 * @author LCL
 * @date 2021-10-23
 */
public interface QuotationCollectMapper 
{
    /**
     * 查询行情收藏
     * 
     * @param id 行情收藏ID
     * @return 行情收藏
     */
    public QuotationCollect selectQuotationCollectById(String id);

    /**
     * 查询行情收藏列表
     * 
     * @param quotationCollect 行情收藏
     * @return 行情收藏集合
     */
    public List<QuotationCollect> selectQuotationCollectList(QuotationCollect quotationCollect);

    /**
     * 新增行情收藏
     * 
     * @param quotationCollect 行情收藏
     * @return 结果
     */
    public int insertQuotationCollect(QuotationCollect quotationCollect);

    /**
     * 修改行情收藏
     * 
     * @param quotationCollect 行情收藏
     * @return 结果
     */
    public int updateQuotationCollect(QuotationCollect quotationCollect);

    /**
     * 删除行情收藏
     * 
     * @param id 行情收藏ID
     * @return 结果
     */
    public int deleteQuotationCollectById(String id);

    /**
     * 批量删除行情收藏
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteQuotationCollectByIds(String[] ids);

    public QuotationCollect selectQuotatioCollectByMemberIdAndToQuotatioId(String memberId, String toQuotationId);

    public List<QuotationCollect> selectQuotationCollectByMemberId(String memberId);

}
